package org.spring.springboot.app.sys.role.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "角色")
public class SysRoleResVO {
    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "唯一ID", hidden = false)
    private String id;

    @ApiModelProperty(value = "上级角色ID", hidden = false)
    private String parentId;

    @ApiModelProperty(value = "所有上级角色id,以\",\"号分割", hidden = false)
    private String parentIds;

    @ApiModelProperty(value = "角色名称", hidden = false)
    private String name;

    @ApiModelProperty(value = "英文名称", hidden = false)
    private String enname;

    @ApiModelProperty(value = "是否可用", hidden = false)
    private String useable;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getEnname() {
        return enname;
    }

    public void setEnname(String enname) {
        this.enname = enname == null ? null : enname.trim();
    }

    public String getUseable() {
        return useable;
    }

    public void setUseable(String useable) {
        this.useable = useable == null ? null : useable.trim();
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId == null ? null : parentId.trim();
    }

    public String getParentIds() {
        return parentIds;
    }

    public void setParentIds(String parentIds) {
        this.parentId = parentIds == null ? null : parentIds.trim();
    }
}